/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const Router = {
  path: '/',
  component: Layout,
  redirect: '/home',
  meta: {
    title: '首页',
    icon: 'index',
  },
  children: [
    {
      path: 'home',
      component: () => import('@/views/home/index'),
      name: '首页',
      meta: { title: '首页', affix: true,icon: 'index' }
    },
    {
      path: 'TodoCenter',
      hidden: true,
      component: () => import('@/views/home/TodoCenter'),
      name: '待办中心',
      meta: { title: '待办中心',  affix: false }
    },
  ]
}

export default Router
